using System;
using System.Diagnostics;
using System.Threading.Tasks;
using System.Timers;
using StreamJsonRpc;

namespace DevCangjie.utils.LSPServer
{
    public sealed class CangjieLSPServer
    {
        private static readonly Lazy<CangjieLSPServer> _instance = new(() => new CangjieLSPServer());
        public static CangjieLSPServer Instance => _instance.Value;

        private Process? _serverProcess;
        private JsonRpc? _jsonRpc;
        private Timer? _statusTimer;

        private CangjieLSPServer()
        {

        }
    }
}